[INFO] cloning repository https://github.com/ZSeven-W/agent-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZSeven-W/agent-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZSeven-W%2Fagent-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZSeven-W%2Fagent-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c0804d9061323bd86c9efa68f177d6006875b7a5
[INFO] fixing ZSeven-W/agent-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZSeven-W%2Fagent-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/ZSeven-W/agent-rs
[INFO] finished tweaking git repo https://github.com/ZSeven-W/agent-rs
[INFO] tweaked toml for git repo https://github.com/ZSeven-W/agent-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ZSeven-W/agent-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ZSeven-W/agent-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e
[INFO] running `Command { std: "docker" "start" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating crates/agent/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating crates/agent-tools-code/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling doc-comment v0.3.4
[INFO] [stderr]     Checking dyn-clone v1.0.20
[INFO] [stderr]     Checking predicates-core v1.0.10
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking lru v0.18.0
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]     Checking predicates-tree v1.0.13
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking predicates v3.1.4
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]     Checking globwalk v0.9.1
[INFO] [stderr]     Checking assert_fs v1.1.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tokio v1.52.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.3
[INFO] [stderr]     Checking agent v0.1.0 (/opt/rustwide/workdir/crates/agent)
[INFO] [stderr]    Migrating crates/agent/src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> crates/agent/src/api/retry.rs:423:15
[INFO] [stdout]      |
[INFO] [stdout]  395 |                   let _ = h
[INFO] [stdout]      |  _________________________-
[INFO] [stdout]  396 | |                     .run(&HookEvent::OnRetry {
[INFO] [stdout]  397 | |                         attempt,
[INFO] [stdout]  398 | |                         reason: format!("{classification:?}"),
[INFO] [stdout]  399 | |                     })
[INFO] [stdout]  400 | |                     .await;
[INFO] [stdout]      | |                          -
[INFO] [stdout]      | |                          |
[INFO] [stdout]      | |__________________________`__awaitee` calls a custom destructor
[INFO] [stdout]      |                            `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  403 |                   let token = abort.token().clone();
[INFO] [stdout]      |                       -----
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       `token` calls a custom destructor
[INFO] [stdout]      |                       `token` will be dropped later as of Edition 2024
[INFO] [stdout]  404 | /                 tokio::select! {
[INFO] [stdout]  405 | |                     biased;
[INFO] [stdout]  406 | |                     _ = token.cancelled() => {
[INFO] [stdout]  407 | |                         return Err(AgentError::Aborted(
[INFO] [stdout] ...    |
[INFO] [stdout]  411 | |                     _ = tokio::time::sleep(delay) => {}
[INFO] [stdout]  412 | |                 }
[INFO] [stdout]      | |                 -
[INFO] [stdout]      | |_________________|
[INFO] [stdout]      | |_________________`futures_init` calls a custom destructor
[INFO] [stdout]      | |_________________`futures_init` will be dropped later as of Edition 2024
[INFO] [stdout]      | |_________________`futures` calls a custom destructor
[INFO] [stdout]      |                   `futures` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  423 | |         match op().await {
[INFO] [stdout]      | |               ^^^^^-----
[INFO] [stdout]      | |               |    |
[INFO] [stdout]      | |               |    this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      | |               |    up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      | |               |    this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      | |               |    `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      | |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      | |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      | |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      | |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...    |
[INFO] [stdout]  433 | |     }
[INFO] [stdout]      | |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `token` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-util-0.7.18/src/sync/cancellation_token.rs:125:1
[INFO] [stdout]      |
[INFO] [stdout]  125 | impl Drop for CancellationToken {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `futures_init` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9
[INFO] [stdout]      |
[INFO] [stdout] 1317 | /         impl $(<
[INFO] [stdout] 1318 | |             $( $lifetime $(: $lifetime_bound)? ,)*
[INFO] [stdout] 1319 | |             $( $generics
[INFO] [stdout] 1320 | |                 $(: $generics_bound)?
[INFO] [stdout] ...    |
[INFO] [stdout] 1323 | |             ),*
[INFO] [stdout] 1324 | |         >)? $crate::__private::Drop for $self_ty
[INFO] [stdout]      | |________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/time/entry.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | / pin_project! {
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout] note: `futures_init` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/notify.rs:1041:1
[INFO] [stdout]      |
[INFO] [stdout] 1041 | impl Drop for Notified<'_> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `futures` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9
[INFO] [stdout]      |
[INFO] [stdout] 1317 | /         impl $(<
[INFO] [stdout] 1318 | |             $( $lifetime $(: $lifetime_bound)? ,)*
[INFO] [stdout] 1319 | |             $( $generics
[INFO] [stdout] 1320 | |                 $(: $generics_bound)?
[INFO] [stdout] ...    |
[INFO] [stdout] 1323 | |             ),*
[INFO] [stdout] 1324 | |         >)? $crate::__private::Drop for $self_ty
[INFO] [stdout]      | |________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/time/entry.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | / pin_project! {
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout] note: `futures` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/notify.rs:1041:1
[INFO] [stdout]      |
[INFO] [stdout] 1041 | impl Drop for Notified<'_> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]      = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/compact/summarize.rs:150:38
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 if let Ok(mut buf) = collected.lock() {
[INFO] [stdout]     |                           -------    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |          |
[INFO] [stdout]     |                           |          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                           |          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           `buf` calls a custom destructor
[INFO] [stdout]     |                           `buf` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 153 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `buf` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/hook/runner.rs:163:35
[INFO] [stdout]     |
[INFO] [stdout] 163 |             match h.handle(event).await {
[INFO] [stdout]     |                   ----------------^^^^^
[INFO] [stdout]     |                   |               |
[INFO] [stdout]     |                   |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   `__awaitee` calls a custom destructor
[INFO] [stdout]     |                   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 175 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `__awaitee` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking agent-tools-code v0.1.0 (/opt/rustwide/workdir/crates/agent-tools-code)
[INFO] [stderr]    Migrating crates/agent-tools-code/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed crates/agent-tools-code/src/discovery.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent-tools-code/src/discovery.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |             match self.candidates.get(name) { Some(tool) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^        ----
[INFO] [stdout]     |                   |                                |
[INFO] [stdout]     |                   |                                `tool` calls a custom destructor
[INFO] [stdout]     |                   |                                `tool` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 157 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `tool` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent-tools-code/src/fs.rs:448:33
[INFO] [stdout]     |
[INFO] [stdout] 448 |             while let Some(entry) = entries
[INFO] [stdout]     |  __________________________-----____^
[INFO] [stdout]     | |  ________________________|________|
[INFO] [stdout]     | | |                        |
[INFO] [stdout]     | | |                        `entry` calls a custom destructor
[INFO] [stdout]     | | |                        `entry` will be dropped later as of Edition 2024
[INFO] [stdout] 449 | | |             .next_entry()
[INFO] [stdout] 450 | | |             .await
[INFO] [stdout]     | | |              -----
[INFO] [stdout]     | | |              |   |
[INFO] [stdout]     | | |______________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     | |                |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     | |                this value will be stored in a temporary; let us call it `#6`
[INFO] [stdout]     | |                up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     | |                this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     | |                `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 451 | |               .map_err(|e| io_to_agent_err("next_entry", &parsed.path, e))?
[INFO] [stdout]     | |                                                                           ^
[INFO] [stdout]     | |                                                                           |
[INFO] [stdout]     | |                                                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     | |                                                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     | |___________________________________________________________________________this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                                                                             up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 452 |             {
[INFO] [stdout] 453 |                 let kind = if entry.file_type().await.map(|t| t.is_dir()).unwrap_or(false) {
[INFO] [stdout]     |                               -----------------------
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                               `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 454 |                     "dir"
[INFO] [stdout] 455 |                 } else if entry
[INFO] [stdout]     |    _______________________-
[INFO] [stdout]     |   |_______________________|
[INFO] [stdout] 456 |   |                 .file_type()
[INFO] [stdout] 457 |   |                 .await
[INFO] [stdout]     |   |                      -
[INFO] [stdout]     |   |______________________|
[INFO] [stdout]     |   |______________________this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                          `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 469 |   |         }
[INFO] [stdout]     |   |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `entry` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent-tools-code/src/discovery.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |             match self.candidates.get(name) { Some(tool) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^        ----
[INFO] [stdout]     |                   |                                |
[INFO] [stdout]     |                   |                                `tool` calls a custom destructor
[INFO] [stdout]     |                   |                                `tool` will be dropped later as of Edition 2024
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 157 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `tool` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent-tools-code/src/fs.rs:448:33
[INFO] [stdout]     |
[INFO] [stdout] 448 |             while let Some(entry) = entries
[INFO] [stdout]     |  __________________________-----____^
[INFO] [stdout]     | |  ________________________|________|
[INFO] [stdout]     | | |                        |
[INFO] [stdout]     | | |                        `entry` calls a custom destructor
[INFO] [stdout]     | | |                        `entry` will be dropped later as of Edition 2024
[INFO] [stdout] 449 | | |             .next_entry()
[INFO] [stdout] 450 | | |             .await
[INFO] [stdout]     | | |              -----
[INFO] [stdout]     | | |              |   |
[INFO] [stdout]     | | |______________|___`__awaitee` calls a custom destructor
[INFO] [stdout]     | |                |   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout]     | |                this value will be stored in a temporary; let us call it `#6`
[INFO] [stdout]     | |                up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     | |                this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     | |                `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 451 | |               .map_err(|e| io_to_agent_err("next_entry", &parsed.path, e))?
[INFO] [stdout]     | |                                                                           ^
[INFO] [stdout]     | |                                                                           |
[INFO] [stdout]     | |                                                                           this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]     | |                                                                           up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     | |___________________________________________________________________________this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]     |                                                                             up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 452 |             {
[INFO] [stdout] 453 |                 let kind = if entry.file_type().await.map(|t| t.is_dir()).unwrap_or(false) {
[INFO] [stdout]     |                               -----------------------
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                               `#2` will be dropped later as of Edition 2024
[INFO] [stdout] 454 |                     "dir"
[INFO] [stdout] 455 |                 } else if entry
[INFO] [stdout]     |    _______________________-
[INFO] [stdout]     |   |_______________________|
[INFO] [stdout] 456 |   |                 .file_type()
[INFO] [stdout] 457 |   |                 .await
[INFO] [stdout]     |   |                      -
[INFO] [stdout]     |   |______________________|
[INFO] [stdout]     |   |______________________this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                          `#3` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 469 |   |         }
[INFO] [stdout]     |   |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout] note: `entry` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/fs/unix.rs:1011:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating crates/agent/examples/anthropic_basic.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> crates/agent/src/api/retry.rs:423:15
[INFO] [stdout]      |
[INFO] [stdout]  395 |                   let _ = h
[INFO] [stdout]      |  _________________________-
[INFO] [stdout]  396 | |                     .run(&HookEvent::OnRetry {
[INFO] [stdout]  397 | |                         attempt,
[INFO] [stdout]  398 | |                         reason: format!("{classification:?}"),
[INFO] [stdout]  399 | |                     })
[INFO] [stdout]  400 | |                     .await;
[INFO] [stdout]      | |                          -
[INFO] [stdout]      | |                          |
[INFO] [stdout]      | |__________________________`__awaitee` calls a custom destructor
[INFO] [stdout]      |                            `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  403 |                   let token = abort.token().clone();
[INFO] [stdout]      |                       -----
[INFO] [stdout]      |                       |
[INFO] [stdout]      |                       `token` calls a custom destructor
[INFO] [stdout]      |                       `token` will be dropped later as of Edition 2024
[INFO] [stdout]  404 | /                 tokio::select! {
[INFO] [stdout]  405 | |                     biased;
[INFO] [stdout]  406 | |                     _ = token.cancelled() => {
[INFO] [stdout]  407 | |                         return Err(AgentError::Aborted(
[INFO] [stdout] ...    |
[INFO] [stdout]  411 | |                     _ = tokio::time::sleep(delay) => {}
[INFO] [stdout]  412 | |                 }
[INFO] [stdout]      | |                 -
[INFO] [stdout]      | |_________________|
[INFO] [stdout]      | |_________________`futures_init` calls a custom destructor
[INFO] [stdout]      | |_________________`futures_init` will be dropped later as of Edition 2024
[INFO] [stdout]      | |_________________`futures` calls a custom destructor
[INFO] [stdout]      |                   `futures` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  423 | |         match op().await {
[INFO] [stdout]      | |               ^^^^^-----
[INFO] [stdout]      | |               |    |
[INFO] [stdout]      | |               |    this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      | |               |    up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      | |               |    this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      | |               |    `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      | |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      | |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      | |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      | |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...    |
[INFO] [stdout]  433 | |     }
[INFO] [stdout]      | |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `token` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-util-0.7.18/src/sync/cancellation_token.rs:125:1
[INFO] [stdout]      |
[INFO] [stdout]  125 | impl Drop for CancellationToken {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `futures_init` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9
[INFO] [stdout]      |
[INFO] [stdout] 1317 | /         impl $(<
[INFO] [stdout] 1318 | |             $( $lifetime $(: $lifetime_bound)? ,)*
[INFO] [stdout] 1319 | |             $( $generics
[INFO] [stdout] 1320 | |                 $(: $generics_bound)?
[INFO] [stdout] ...    |
[INFO] [stdout] 1323 | |             ),*
[INFO] [stdout] 1324 | |         >)? $crate::__private::Drop for $self_ty
[INFO] [stdout]      | |________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/time/entry.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | / pin_project! {
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout] note: `futures_init` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/notify.rs:1041:1
[INFO] [stdout]      |
[INFO] [stdout] 1041 | impl Drop for Notified<'_> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `futures` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pin-project-lite-0.2.17/src/lib.rs:1317:9
[INFO] [stdout]      |
[INFO] [stdout] 1317 | /         impl $(<
[INFO] [stdout] 1318 | |             $( $lifetime $(: $lifetime_bound)? ,)*
[INFO] [stdout] 1319 | |             $( $generics
[INFO] [stdout] 1320 | |                 $(: $generics_bound)?
[INFO] [stdout] ...    |
[INFO] [stdout] 1323 | |             ),*
[INFO] [stdout] 1324 | |         >)? $crate::__private::Drop for $self_ty
[INFO] [stdout]      | |________________________________________________^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/runtime/time/entry.rs:280:1
[INFO] [stdout]      |
[INFO] [stdout]  280 | / pin_project! {
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | | }
[INFO] [stdout]      | |_- in this macro invocation
[INFO] [stdout] note: `futures` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/notify.rs:1041:1
[INFO] [stdout]      |
[INFO] [stdout] 1041 | impl Drop for Notified<'_> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]      = note: this warning originates in the macro `$crate::__pin_project_make_drop_impl` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed crates/agent/src/memdir/paths.rs (8 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/compact/summarize.rs:150:38
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 if let Ok(mut buf) = collected.lock() {
[INFO] [stdout]     |                           -------    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |          |
[INFO] [stdout]     |                           |          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                           |          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                           `buf` calls a custom destructor
[INFO] [stdout]     |                           `buf` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 153 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `buf` invokes this custom destructor
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating crates/agent/tests/prelude_exports.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/hook/runner.rs:163:35
[INFO] [stdout]     |
[INFO] [stdout] 163 |             match h.handle(event).await {
[INFO] [stdout]     |                   ----------------^^^^^
[INFO] [stdout]     |                   |               |
[INFO] [stdout]     |                   |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   |               up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                   `__awaitee` calls a custom destructor
[INFO] [stdout]     |                   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 175 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `__awaitee` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/compact/with_hooks.rs:260:10
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let mut runner = HookRunner::new();
[INFO] [stdout]     |             ----------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `runner` calls a custom destructor
[INFO] [stdout]     |             `runner` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 260 |         .await
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |          up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 265 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `runner` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> crates/agent/src/file_cache.rs:229:48
[INFO] [stdout]      |
[INFO] [stdout]  228 |         let c = FileStateCache::new(NonZeroUsize::new(8).unwrap(), 1024);
[INFO] [stdout]      |             -
[INFO] [stdout]      |             |
[INFO] [stdout]      |             `c` calls a custom destructor
[INFO] [stdout]      |             `c` will be dropped later as of Edition 2024
[INFO] [stdout]  229 |         match c.read("/no/such/path/here.dat").await {
[INFO] [stdout]      |                                                ^^^^^
[INFO] [stdout]      |                                                |
[INFO] [stdout]      |                                                this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                                                up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  233 |     }
[INFO] [stdout]      |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `c` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lru-0.18.0/src/lib.rs:1714:1
[INFO] [stdout]      |
[INFO] [stdout] 1714 | impl<K, V, S> Drop for LruCache<K, V, S> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/permission/external_queue.rs:190:35
[INFO] [stdout]     |
[INFO] [stdout] 190 |             while let Some(req) = receiver.next().await {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |                                   |               |
[INFO] [stdout]     |                                   |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]     |                                   |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                   |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                   |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]     |                                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                                   up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]     |                                   `__awaitee` calls a custom destructor
[INFO] [stdout]     |                                   `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] 191 |                 req.respond(allow()).unwrap();
[INFO] [stdout] 192 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/oneshot.rs:871:1
[INFO] [stdout]     |
[INFO] [stdout] 871 | impl<T> Drop for Sender<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.1/src/sync/oneshot.rs:871:1
[INFO] [stdout]     |
[INFO] [stdout] 871 | impl<T> Drop for Sender<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/session/mod.rs:228:36
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let dir = tempdir().unwrap();
[INFO] [stdout]     |             ---
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `dir` calls a custom destructor
[INFO] [stdout]     |             `dir` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 228 |         match Session::load(&path).await {
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                    up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 232 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `dir` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> crates/agent/src/session/mod.rs:239:36
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let dir = tempdir().unwrap();
[INFO] [stdout]     |             ---
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `dir` calls a custom destructor
[INFO] [stdout]     |             `dir` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 239 |         match Session::load(&path).await {
[INFO] [stdout]     |                                    ^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                    up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 243 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `dir` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tempfile-3.27.0/src/dir/mod.rs:498:1
[INFO] [stdout]     |
[INFO] [stdout] 498 | impl Drop for TempDir {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating crates/agent/examples/with_tools.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating crates/agent/tests/permission_corpus.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] [stderr] crater-edition-check: agent v0.1.0 (/opt/rustwide/workdir/crates/agent) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: agent-tools-code v0.1.0 (/opt/rustwide/workdir/crates/agent-tools-code) updating edition from 2021 to 2024
[INFO] [stderr]     Checking agent v0.1.0 (/opt/rustwide/workdir/crates/agent)
[INFO] [stderr]     Checking agent-tools-code v0.1.0 (/opt/rustwide/workdir/crates/agent-tools-code)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |         unsafe { std::env::set_var("AGENT_MEMORY_DIR", "/tmp/agent-memdir-test") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> crates/agent/src/lib.rs:7:11
[INFO] [stdout]     |
[INFO] [stdout]   7 | #![forbid(unsafe_code)]
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         unsafe { std::env::remove_var("AGENT_MEMORY_DIR") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         unsafe { std::env::remove_var("AGENT_MEMORY_DIR") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |         unsafe { std::env::remove_var("APPDATA") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |         unsafe { std::env::set_var("XDG_CONFIG_HOME", "/tmp/xdg-test") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 |         unsafe { std::env::remove_var("XDG_CONFIG_HOME") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         unsafe { std::env::set_var("AGENT_MEMORY_DIR", "/tmp/foo") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> crates/agent/src/memdir/paths.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |         unsafe { std::env::remove_var("AGENT_MEMORY_DIR") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agent` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e", kill_on_drop: false }`
[INFO] [stdout] 4d747d432f3ad4dd926a393b6ce29759a476a833429b952a397685d1f84c9c8e
